package com.example.base.config;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.context.ApplicationContext;

public class TableInitialization implements CommandLineRunner {

    @Autowired
    private ApplicationContext context;

    @Override
    public void run(String... args) {

        // 利用MyBatis-Plus的MybatisMapperRefresh组件来进行检查并创建表
//        MybatisMapperRefresh mybatisMapperRefresh = new MybatisMapperRefresh(context);
//        mybatisMapperRefresh.start();
    }
}
